package day240515.e1;

public class Student{
    String name;
    int age;
    char firstLetter;

    public Student(String name, int age) {
        this.name = name;
        this.age = age;
        firstLetter = name.charAt(0);
    }

    @Override
    public String toString() {
        return this.name + "(" + this.age + ")";
    }
}
